{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}
<form class="ag_qjump_footer" method="get" action="{url task=forum}">
	<label>
		<select name="id" onchange="window.location=this.options[this.selectedIndex].value" class="ag_qjump">
			<option value="jump">##JUMP_TO##</option>
			{foreach from=$writable_forums item=qj_cat}
				{if !empty($forum_cat.forums)}
			<optgroup label="{$qj_cat.cat_name}">
				{foreach from=$qj_cat.forums item=qj_forum}
				<option value="{url task=forum id=$qj_forum.id}">
					|--{section name=qj_level start=0 loop=$qj_forum.level*2}-{/section}&nbsp;{$qj_forum.forum_name}
				</option>
				{/foreach}
			</optgroup>
				{/if}
			{/foreach}
		</select>
	</label>
</form>